#ifndef GLOBAL_H
#define GLOBAL_H
#define SHOWVARABILE 0
#define SHOWLEXOUTPUT 1
// A link-list of obj in memory
//#define UNDEFINE 0
//#define OPERATOR 2
//#define LINE_SP 3
//#define BLANK 4
//#define MAXTYPES = 4


/*
DEFINE WHITE SPACE
*/
//#define NUL 0
//#define BS 8
//#define LF 10
//#define VT 11
//#define CR 13
//#define SP 32
//#define TAB 9
/*
-- DEFINE TOKEN 
*/
enum myWordSymbol{
 UNDEFINE = 0, 
 BLANK = ' ',
 LINE_SP = '\n',
 PLUS ='+',
 MINUS ='-',
 MULTI ='*',
 DIVIDOR = '/',
 SEMICOLON =';',
 COLON = ':',
 AS = '=',
 SCOPE_START = '{',
 SCOPE_END ='}',
 /*
DEFINE WHITE SPACE
*/
 BS = 8,
 LF =10,
 VT =11,
 CR =13,
 SP =32,
 TAB =9
};
//#define PLUS '+'
//#define MINUS '-'
//#define MULTI '*'
//#define DIVIDOR '/'
//#define NUM 256  // numeric value of sequence
//#define DIV 257
//#define MOD 258  
//#define ID 259   // index to the symtable
//#define DONE 260 // end of file
//#define LT 261 // LESS THEN
//#define LE 262 // less then or equal to
//#define EQ 263 // equal
//#define NE 264 // not equal
//#define GT 265 // greter then
//#define GE 266 // greater then or equal to
//#define RELOP 267
//#define IF 268
//#define THEN 269
//#define ELSE 270
//#define WHILE 271
//#define DO 272
//#define EXIT 273
//#define MAOP 274
//#define AS 275 //:=
//#define RESERVED 276
//#define PROGRAM 277
//#define VAR 278
///*DEFINE TYPE OF VARIABLE*/
//#define INTEGER 279
//#define BOOLEAN 280
///*END OF DEFINE TYPE OF VARIABLE*/
//#define BEGIN 281
//#define END 282
//#define FI 283
//#define SCOPE_START 284
//#define SCOPE_END 285
//#define ELIHW 286
//#define TRUE 287
//#define FALSE 288
//
//#define SEMICOLON ';'
//#define COLON ':'
enum myMAOP{
 LT,//  // LESS THEN
 LE,//  // less then or equal to
 EQ,//  // equal
 NE,//  // not equal
 GT,//  // greter then
 GE//  // greater then or equal to
 
};
enum myReservedWord{
NUM = 256,  // numeric value of sequence
 DIV,// 257
 MOD,// 258  
 ID,// 259   // index to the symtable
 DONE,// 260 // end of file 
 IF,// 261
 THEN,// 262
 ELSE,// 263
 WHILE,// 264
 DO,// 265
 EXIT,// 266
 MAOP,// 267
 RELOP,//268
 RESERVED,// 269
 PROGRAM,// 270
 VAR,// 271
/*DEFINE TYPE OF VARIABLE*/
 INTEGER,// 272
 BOOLEAN,// 273
/*END OF DEFINE TYPE OF VARIABLE*/
 BEGIN,// 274
 END,// 275
 FI,// 276
 ELIHW,// 277
 TRUE,// 278
 FALSE,// 279
 FLOAT,//280
 WRITE//281
};



//#define isoperator(c) 
//#define iscapital(c) c>=65 && c<=90
//#define islowercase(c) c>=97 && c<=122
int compare(char* c1, char* c2);

#endif